/*  File Name	: Connector.cpp
 *  Author		: Pang Jiacai
 *	 E-mail		: 823960168@qq.com
 *  Created on	: 2012-7-2
 *  Description:
 */

#include "Connector.h"
#include "Reactor.h"
#include "Service.h"
#include "SockConnector.h"
#include "EventHandler.h"
#include "Sock.h"
#include "Task.h"

class ConnectorService:virtual public Service//<ConnectorService>
{
public:
	ConnectorService(int p=0);
	virtual ~ConnectorService();

	std::string name(void);
private:

};

ConnectorService::ConnectorService(int p)
{

}
ConnectorService::~ConnectorService()
{

}

std::string ConnectorService::name(void)
{
	return std::string("ConnectorService");
}

template <class SVC_HANDLER>
class GateConnector: public Connector<SVC_HANDLER,SockConnector>
{
public:
	GateConnector();
	virtual ~GateConnector();

private:

};

template <class SVC_HANDLER>
GateConnector<SVC_HANDLER>::GateConnector()
{

}

template <class SVC_HANDLER>
GateConnector<SVC_HANDLER>::~GateConnector()
{

}

//int main()
//{
//	GateConnector<ConnectorService> conn;
//}


